package com.liu.domain;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by liu on 17-9-12.
 */
@Entity
public class room {
    @Id
    private int id;   //房间编号
    private int build_id;  //楼栋号
    private int room_id;    //房间号

    public room(){}
    public room(int roomId) {
        this.room_id = roomId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBuild_id() {
        return build_id;
    }

    public void setBuild_id(int build_id) {
        this.build_id = build_id;
    }

    public int getRoom_id() {
        return room_id;
    }

    public void setRoom_id(int room_id) {
        this.room_id = room_id;
    }
}
